package com.loyal.loyalerp.humenresource.employee.service;

import java.io.FileNotFoundException;
import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletResponse;

import com.loyal.loyalerp.basedata.department.model.Department;
import com.loyal.loyalerp.humenresource.employee.data.Gy_PersonData;
import com.loyal.loyalerp.humenresource.employee.entity.Gy_Person;

public interface Gy_PersonReadService {
	
	List<Gy_Person> selectByActive(String active);
	
	List<Gy_Person> listPerson();
	
	//列出所有的员工信息
	List<Gy_PersonData> retrieveAllPerson();
	
    Gy_Person retrievePersonByPrimaryKey(Long id);
    
    List<Map<String, Object>> selectCompanyNameWithId(Department record);
   
    //按要求查询
	List<Gy_Person> selectByPCD(String active,String pname, String cname, String dname);


	String exportExcel(String isActive, HttpServletResponse response) throws FileNotFoundException;
}
